setProfile
Sets the profile of the current account. Note that all the parameters here will be used as the new profile fields; leaving one of the fields unset or null means it will be treated as clearing it.
Parameters
A new profile name. Set to empty string for no profile name Example: "signald user"
Path to new profile avatar file. If unset or null, this will unset the profile avatar. Example: "/tmp/image.jpg
An optional about string. If unset, null or an empty string will unset profile's about field.
An optional single emoji character. If unset, null or an empty string will unset profile emoji.
An optional base64-encoded MobileCoin address to set in the profile. Payment address must be a base64-encoded MobileCoin address. Note that this is not the traditional MobileCoin address encoding, which is custom. Clients are responsible for converting between MobileCoin's custom base58 on the user-facing side and base64 encoding on the signald side.
IDs of badges. Badges and their IDs are dynamically provided by the server.
Throws
if signald sends an error response or the incoming message is invalid
if the request to the socket fails